#ifndef __START_GAME_SCENE_H__
#define __START_GAME_SCENE_H__

#include "cocos2d.h"
#include "cocos-ext.h"

using namespace cocos2d::extension;

class StartGameScene : public cocos2d::CCLayer
{
public:
    // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
    virtual bool init();  

    // there's no 'id' in cpp, so we recommend returning the class instance pointer
    static cocos2d::CCScene* scene();

    // implement the "static node()" method manually
    CREATE_FUNC(StartGameScene);

	void startGameCallback(CCObject* sender);
    void challengeCallback(CCObject* sender);
    void achieveCallback(CCObject* sender);

protected:
    UILayer *m_pUiLayer;
    Layout *m_pWidget;
	cocos2d::CCSize _winSize;
};

#endif // __START_GAME_SCENE_H__
